/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.clicarros.dao.Implementacao;

import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Bruno
 */
public interface IDAO {
    public Object inserir(Object o)throws ClassNotFoundException, SQLException, Exception;
    public void alterar(Object o)throws ClassNotFoundException, SQLException, Exception;
    public void excluir(Object o)throws ClassNotFoundException, SQLException, Exception;
    public List listarTodos (Object o)throws ClassNotFoundException, SQLException,Exception;
    public List consultar(Object o)throws ClassNotFoundException, SQLException, Exception;
    public Object consultarId(Object o)throws ClassNotFoundException, SQLException, Exception;
}
